//
//  ItemFirstWuCell.m
//  Lovelife
//
//  Created by apple on 15/4/27.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ItemFirstWuCell.h"
#import "NightManager.h"

@implementation ItemFirstWuCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self) {
        
        self.Img = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, self.frame.size.width, self.frame.size.height)];
        
        [self addSubview:self.Img];
        
        [_Img release];
        
        self.title = [[BaseLabel alloc]initWithFrame:CGRectMake(10, self.frame.size.height-20, self.frame.size.width, 30)];
        
        self.title.textColor = [UIColor whiteColor];
        
        [self addSubview:self.title];
        
        [_title release];
        
        
        
    }
    return self;


}

-(void)setNightDayModel
{
    [NightManager setLabelColorWithLabel:self.title];
    
    [NightManager setBackgroundColorWithView:self];

}

-(void)setLightDayModel
{
    [NightManager setLabelColorWithLabel:self.title];
    
    [NightManager setBackgroundColorWithView:self];

}

@end
